# -*- coding: UTF-8 -*-
'''
Created on 16/10/2014

@author: Eduardo Cardeira - Num 6033

Exemplo 6 da Aula Teorica 4

'''
import sys
import random

lista_aleatorios = [random.uniform(0, 100) for k in range(10)]

for x in lista_aleatorios:
    string1 = str(x) + '\n'
    sys.stdout.write(string1)
    
try:
    a = 0 / 0
except:
    sys.stderr.write("\nERRO 0/0 it's a no no...\n")
    